package com.example.pojo.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

//职位表

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(of = {"id"})
public class Post implements Serializable {

  private Integer id;
  private Integer jrId;
  private String posName;
  private String posType;
  private String posDescription;
  private String posKeyword;
  private String workPlace;
  private Integer recruitsNum;
  private Integer payFloor;
  private Integer payUpper;
  private String background;
  private String specialty;
  private String sexDemand;
  private String expDemand;
  private String ageDemand;
  private String jobBenefits;
  private String recruitmentAgency;
  //点击量
  private Integer posHits;
  private String posTelephone;
  private String posEmail;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy/MM/dd HH:mm:ss")
  private Date publishTime;
  private Integer publishStatus;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date publishCycle;

}
